<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/23
 * Time: 15:45
 * 添加用户可以使用的接口
 */
$op_orid              = $route->bodyParams['op_orid'];               //关联的角色id
$op_oiid              = $route->bodyParams['op_oiid'];               //关联的接口id



//写入数组
$insertArr = [
    'op_orid'              => $op_orid,
    'op_oiid'              => $op_oiid,
];

//执行写入语句
$rsData = $db->mysqlDB->insert("oa_permission",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );